<script>
	export default {
		onLaunch: function() {
			console.log('触发了 App Launch 函数')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		onError() {
			console.log("触发了 OnError")
		}
	}
</script>

<style>
	/*每个页面公共css */
	.box1{
		background-color: #008000;
	}
</style>
